package gui;

import various_tmp.Game;



public class ChangeStateButton extends Button
{

	//Attributs
	private int id_state; //@FIXME can be not defined
	
	//Constructor
	public ChangeStateButton(String name, int id_state)
	{
		super(name);
		this.id_state = id_state;
	}

	@Override
	public void action()
	{
		Game.getInstance().enterState(this.id_state);
	}
	
	
	
}
